Cavern
Cavern4D
Cavernize
Debug
FilterInterfaces
Filters
Format
Common
Consts
Container
Decoders
EnhancedAC3
Decoder
DummyDecoder
EnhancedAC3Decoder
ChannelCount
DecodeFrame()
Enhanced
EnhancedAC3Decoder(BlockBuffer
)
EnhancedAC3Decoder(BlockBuffer
, long)
Finished
FrameSize
GetChannels()
Length
SampleRate
Seek(long)
FrameBasedDecoder
RIFFWaveDecoder
Environment
FilterSet
Renderers
Transcoders
Utilities
AudioFormat
AudioReader
AudioTrackReader
AudioWriter
BitDepth
EnhancedAC3Reader
LAFMode
LimitlessAudioFormatReader
LimitlessAudioFormatWriter
RIFFWaveReader
RIFFWaveWriter
SegmentedAudioReader
SegmentedAudioWriter
Helpers
QuickEQ
Remapping
SpecialSources
Spoofer
Utilities
Virtualizer
Atmosphere
AudioClip3D
AudioListener3D
AudioListener3DInspector
AudioSource3D
CavernizeRealtime
Channel
Clip
Environments
Jack
Listener
QualityModes
Rolloffs
SeatAdaptation
Source
class EnhancedAC3Decoder
Converts an Enhanced AC-3 bitstream to raw samples.
Visibility
Public
Extends
FrameBasedDecoder
Public functions
Constructor
EnhancedAC3Decoder(BlockBuffer<byte> reader)
Converts an Enhanced AC-3 bitstream to raw samples.
Constructor
EnhancedAC3Decoder(BlockBuffer<byte> reader, long fileSize)
Converts an Enhanced AC-3 bitstream to raw samples. When the file size is known, the length can be calculated
from the bitrate assuming AC-3 is constant bitrate.
ReferenceChannel[]
GetChannels()
Get the bed channels.
void
Seek(long sample)
Start the following reads from the selected sample.
Protected functions
float[]
DecodeFrame()
Decode a new frame if the cached samples are already fetched.
Public properties
int
ChannelCount
Number of total output channels.
bool
Enhanced
The stream is coded in the Enhanced version of AC-3.
bool
Finished
True if the stream has reached its end.
int
FrameSize
Samples in each decoded frame
long
Length
Content length in samples for a single channel.
int
SampleRate
Content sample rate.